package ModelLayer;
import java.util.ArrayList;


/**
 * Write a description of class CopyList here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class CopyList
{
    // instance variables - replace the example below with your own
    private ArrayList<Copy> copylist;

    
    public CopyList()
    {
       copylist=new ArrayList<Copy>();
    }

  public void addCopy(Copy newCopy)
    {copylist.add(newCopy);}
  public void copyBorrow(int serialNumber)
  {for (Copy c : copylist) {c.copyBorrow(serialNumber);}}
  public void copyReturn(int serialNumber)
  {for (Copy c : copylist) {c.returnBorrow(serialNumber);}}
}
